projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9370a47
)
* lisp/minibuffer.el (completion--replace): Fix bug#55205
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Sun, 1 May 2022 17:04:44 +0000
(13:04 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Sun, 1 May 2022 17:04:44 +0000
(13:04 -0400)
lisp/minibuffer.el
patch
|
blob
|
history
diff --git
a/lisp/minibuffer.el
b/lisp/minibuffer.el
index ef71b4e6be62ed43035bd6ad140081a60742bd76..fb473cf71b0ea49ad8be0f4bb25f14ca18ed6483 100644
(file)
--- a/
lisp/minibuffer.el
+++ b/
lisp/minibuffer.el
@@
-1140,6
+1140,7
@@
Moves point to the end of the new text."
;; The properties on `newtext' include things like the
;; `completions-first-difference' face, which we don't want to
;; include upon insertion.
+ (setq newtext (copy-sequence newtext)) ;Don't modify the arg by side-effect.
(if minibuffer-allow-text-properties
;; If we're preserving properties, then just remove the faces
;; and other properties added by the completion machinery.